package com.erivan.loja.dao;

import org.hibernate.Session;

public class teste {
	public static void main(String[] args) {
		Session session = null;
		
		try {
			session = HibernateUtil.getSession().openSession();
			System.out.println("Conectou !!");
			
		} finally{
			session.close();
			System.out.println("Fexou!");
		}
		
	}
}
